import request from '@/utils/request'

export const getOrderMessageService = (data) => request.post('/order/getOrderMessage', data) //获取order表所以信息

export const getUserNameService = (user_id) => request.get(`/order/getUserName/${user_id}`) //根据user_id获取用户
export const getRoomNameService = (room_id) => request.get(`/order/getRoomName/${room_id}`) //根据room_id获取房间

export const delorderMessageService = (order_id) => {
  return request.get(`/order/delorderMessage/${order_id}`)
}

export const delPaymentsMessageService = (order_id) => {
  return request.get(`/order/delPaymentsMessage/${order_id}`)
}
